﻿using Network.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Network.Tcp;

public static class TcpUtility
{
    static long LastSessionIndex = 0L;
    public static long GetSessionID()
    {
        return (TimeUtility.GetMilliSecondTimeStamp() * 100L + (++LastSessionIndex) % 100L);
    }
}
